package com.lovo.dao;

import com.lovo.bean.User;

import java.util.List;

public interface UserDAO {
    User findByNameAndPwd(String name, String pwd);
    List find();
    int insert(User user);
    int update(User user);
    int delete(int id);
}
